<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>

  </style>
</head>
<body>
  <div id="app">
    <!--大量的html元素 都不需要vue渲染  基本上都是静态页面-->
    <div v-once>❤{{msg}}❤</div>
  </div>
</body>
<script src="./js/vue.js"></script>
<script>
  new Vue({
    el:"#app",
    data:{
      msg:"周冬雨"
    },
    mounted(){
      setInterval(()=>{
        console.log("setInterval",this.msg)
        this.msg += "雨"
      },2000)
    }
  });
</script>
</html>